<div ng-controller="DemoCtrl">
layDate 封装演示

<section>
    <label>自动生成id</label>
    <input class="laydate-icon" dv-laydate ng-model="laydateText" select="updateDateTxt(dateTxt)"> {{laydateText}}
</section>
<section>
    <label>指定id</label>
    <input class="laydate-icon" dv-laydate ng-model="laydateText2" select="updateDateTxt(dateTxt)" id="myid"> {{laydateText2}}
</section>

<section>
    <label>直接参数设置</label>
    <input class="laydate-icon" dv-laydate ng-model="laydateText3"
           config='{
            "format": "YYYY-MM-DD hh:mm:ss" ,
            "istime": true,
            "isclear": true,
            "istoday": true,
            "issure": true,
            "festival": true,
            "min": "1900-01-01 00:00:00",
            "max": "2099-12-31 23:59:59",
            "start": "2014-6-15 23:00:00"
           }'
           > {{laydateText3}}
</section>

<section>
    <label>controller参数设置</label>
    <input class="laydate-icon" dv-laydate ng-model="laydateText4" select="updateDateTxt(dateTxt)"
           config='getConfig()'
            > {{laydateText4}}
</section>

</div>
